package org.example.service;

import org.example.pojo.domain.NotificationSubscription;

import java.util.List;

public interface NotificationSubscriptionService {
    List<NotificationSubscription> getSubscriptionsByUser(Integer userId);
    void subscribe(Integer userId, String notificationType);
    void unsubscribe(Integer subscriptionId);
    List<NotificationSubscription> getSubscriptionsByType(String notificationType);
}
